<template>
  <div>
    <footer v-show="selected < len[0]" class="bottom">您已经选择{{ selected }}项,少选择了{{ len[0] - selected }}项</footer>
    <footer v-show="selected >= len[0]" class="bottom">您已经选择{{ selected }}项</footer>
  </div>
</template>

<script>
export default {
  name: '',
  props: ['len', 'selected']
}
</script>

<style lang="less" scoped>
// 底部
footer.bottom {
  padding: 10px 0;
  color: rgb(102, 102, 102);
  font-weight: normal;
  font-family: "microsoft yahei","Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
  font-size: 12px;
}
</style>